<template>
  <div class="groupitem">
    <div class="gi-img">
      <div class="gi-yd">
      </div>
      <div class="gi-img-user">
        <slot name="gi-img">
        </slot>
      </div>
    </div>
    <div class="gi-info">
        <div>
          <span class="gi-name"><slot name="gi-name"></slot></span>
          <span class="gi-name-pic"><slot name="gi-name-pic"><img src="static/images/eng-corner/fire.png" alt=""/></slot></span>
        </div>
        <div>
         <span class="gi-grade"><slot name="gi-grade"></slot></span>
          <span class="gi-loc"><slot name="gi-loc"></slot></span>
        </div>
        <div class="gi-intro">
          <slot name="gi-intro">
            <span></span>
          </slot>
        </div>
    </div>
  </div>
</template>
<script>
    export default{
      name:'groupitem'
    }
</script>
<style>
  .groupitem{
    border-bottom:1px solid #eee;
    height:114px;
    padding:0 30px;
    background: #fff;
    display: flex;
    align-items: center;
  }
  .gi-img{
    height: 100%;
    border-left:1px solid #b1b1b1;
    position: relative;
  }
  .gi-yd{
    width: 8px;
    height:8px;
    border-radius: 100%;
    background: #ED6942;
    position: absolute;
    left:-5px;
    top:46%
  }
  .gi-img-user{
    margin:24px;
  }
  .gi-img-user img{
    width:70px;
    height:70px;
    border-radius: 100%;

  }
  .gi-info{
    width:75%;
    padding:0 20px;
  }
  .gi-info>div{
    margin: 4px 0;
  }
  .gi-name{
    color:#000;
    font-size:12px;
  }
  .gi-name-pic{
    padding: 2px 5px;
  }
  .gi-name-pic img{
    width: 16px;
  }
  .gi-grade{
    color:#ED6942;
    font-size:12px;
    font-weight: bold;
  }
  .gi-loc, .gi-intro{
    color:#b1b1b1;
    font-size: 12px;
  }
  .gi-loc{
    font-size: 12px;
  }
  @media (max-width: 320px){
    .groupitem {
      border-bottom: 1px solid #eee;
      height: 94px;
    }
    .gi-img-user img {
      width: 50px;
      height: 50px;
    }
    .gi-info{
      padding:0 10px;
    }
    .gi-loc, .gi-intro{
      font-size: 8px!important;
    }
  }
</style>
